package com.itheima.health.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CheckgroupCheckitemDao {
    /**
     * 根据检查组的id查询检查项id
     */
    @Select("select checkitem_id from  t_checkgroup_checkitem where checkgroup_id=#{id} ")
    List<Integer> selectByGroupId(Integer id);
}
